package com.cpfmat.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangbin
 * @since 2018-07-30
 */
@TableName("system_menu")
public class SystemMenu extends Model<SystemMenu> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("SEQ_ID")
    private String seqId;
    /**
     * 父级ID
     */
    @TableField("PARENT_ID")
    private String parentId;
    /**
     * 菜单显示名称
     */
    @TableField("SHOW_NAME")
    private String showName;
    /**
     * 是否为发布用的栏目
     */
    @TableField("IS_COLUMN")
    private Integer isColumn;
    /**
     * 是否为导航栏中的显示菜单
     */
    @TableField("IS_NAV")
    private Integer isNav;
    /**
     * 对应的URL
     */
    @TableField("URL")
    private String url;
    /**
     * 数据插入时间
     */
    @TableField("INSERT_TIME")
    private Date insertTime;
    /**
     * 数据更新时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;
    /**
     * 更新次数
     */
    @TableField("UPDATE_COUNTS")
    private Integer updateCounts;
    /**
     * 排序序号
     */
    @TableField("ORDER_NUM")
    private Integer orderNum;
    /**
     * 删除标志位
     */
    @TableField("DEL_FLAG")
    private Integer delFlag;
    /**
     * 删除标志位
     */
    @TableField("key")
    private String key;

    public String getSeqId() {
        return seqId;
    }

    public void setSeqId(String seqId) {
        this.seqId = seqId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getShowName() {
        return showName;
    }

    public void setShowName(String showName) {
        this.showName = showName;
    }

    public Integer getIsColumn() {
        return isColumn;
    }

    public void setIsColumn(Integer isColumn) {
        this.isColumn = isColumn;
    }

    public Integer getIsNav() {
        return isNav;
    }

    public void setIsNav(Integer isNav) {
        this.isNav = isNav;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateCounts() {
        return updateCounts;
    }

    public void setUpdateCounts(Integer updateCounts) {
        this.updateCounts = updateCounts;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.seqId;
    }

    @Override
	public String toString() {
		return "SystemMenu [seqId=" + seqId + ", parentId=" + parentId + ", showName=" + showName + ", isColumn="
				+ isColumn + ", isNav=" + isNav + ", url=" + url + ", insertTime=" + insertTime + ", updateTime="
				+ updateTime + ", updateCounts=" + updateCounts + ", orderNum=" + orderNum + ", delFlag=" + delFlag
				+ ", key=" + key + "]";
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}
}
